package com.ybt.router.core.routertable.manager;

import com.ybt.router.core.routertable.IServiceRouter;

public class RouterChange {
    public static String CHANGE_UPDATE="update";
    public static String CHANGE_ADD="add";
    public static String CHANGE_DELETE="delete";
    private String changeMethod;
    private String serviceName;
    private IServiceRouter oldRouter;
    public RouterChange(String changeMethod) {
        this.changeMethod = changeMethod;
    }
    public RouterChange() {
    }
    public String getChangeMethod() {
        return changeMethod;
    }
    public void setChangeMethod(String changeMethod) {
        this.changeMethod = changeMethod;
    }
    public IServiceRouter getOldRouter() {
        return oldRouter;
    }
    public void setOldRouter(IServiceRouter oldRouter) {
        this.oldRouter = oldRouter;
    }
    public String getServiceName() {
        return serviceName;
    }
    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }
    
    
}
